import Router from "koa-router";
import home from "../controllers/home.js";
const router = new Router();
router.post("/api/scada/getrealvals", home.getRealval);
router.post("/api/scada/loadChartYear", home.loadYear);
router.post("/api/scada/loadChartDay", home.loadDay);
router.post("/api/scada/loadChartHour", home.loadHour);
router.post("/api/scada/loadChartMonthd", home.loadMonth);

export default router;